package com.demo.provider.service.impl;



import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.demo.face.bean.SystemUser;
import com.demo.face.service.TestService;
import com.demo.provider.mapper.SystemUserMapper;

@Service
public class TestServiceImpl implements TestService{
	
	Logger logger = LoggerFactory.getLogger(this.getClass());

	@Autowired
	SystemUserMapper systemUserMapper;
	
	
	@Override
	public SystemUser getSystemUser() {
		SystemUser user = systemUserMapper.selectByPrimaryKey(1);
		logger.info("TestService:执行了查询用户的操作");
		return user;
	}

}
